﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MenuLoaiSP.ascx.cs" Inherits="TemplateH4.MenuLoaiSP" %>

<link href="css/SanPham.css" rel="stylesheet" type="text/css" />
      <div style="width:204px; height:auto;">
     <%-- <div align ="center" class="subHeader">
        Các Loại Sản Phẩm
      </div>--%>
        
        <asp:GridView ID="grvLeftMenu" runat="server" AutoGenerateColumns="False" 
            Height="30px" Width="201px" 
              onselectedindexchanged="grvLeftMenu_SelectedIndexChanged" 
              BorderColor="#990033" BorderStyle="Solid" BorderWidth="0px" 
              GridLines="None">
            <PagerSettings Position="Top" />
            <Columns>
                <asp:TemplateField>
               
                    <ItemTemplate>
                   
                    <li>
                        <asp:HyperLink ID="HyperLink1" runat="server" 
                            Text='<%# Eval("TenLoaiSanPham") %>' 
                            NavigateUrl='<%# "~/SanPham.aspx?LoaiSP="+Eval("MaLoaiSanPham") %>' 
                            Font-Underline="False" ></asp:HyperLink>
                    </li>
                    </ItemTemplate>
                
                </asp:TemplateField>
            </Columns>
            <EditRowStyle VerticalAlign="Middle" />
        </asp:GridView>
       
        
        
       </div>     
       
